package com.fivestar.pmanager.core.mapper;

import java.util.List;

import com.fivestar.pmanager.core.base.BaseBean;

/**
 * 
 * Mapper层，统一数据库操作方法
 * 
 * @author admin
 */
public interface DBActionMapper<T extends BaseBean>
{

    int delete(T param);


    int deletePhysics(T param);


    int insert(T param);


    int update(T param);


    int updateBySelective(T param);


    List<T> getList(T param);


    int getCount(T param);


    T getSingleById(Integer rowId);
    
    T getSingle(T param);
}
